home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / utility / utilmisc / maestix.lha / Maestix / Install-E < prev    next >
Text File  |  1995-06-26  |  3KB  |  82 lines

  1. ; ************************************************
  2. ; *
  3. ; * Maestix - HD Install Script (English)
  4. ; *
  5. ; * $VER: Install-Maestix 1.20
  6. ; *
  7. ; * Script written by Richard Körber
  8. ; *
  9. ; ************************************************
  10.  
  11. ;------- Prompts ---------------------------------
  12. ;
  13. (set CopyLibPrompt      "Copy maestix.library?")
  14. (set ToolDirPrompt      "Copy Maestix tools to...")
  15. (set ToolCopyPrompt     "Copying Tools...")
  16. (set StartupPrompt      "Changing User-Startup...")
  17. (set DefInputPrompt     "Which input do you usually use?")
  18. (set DefDelayPrompt     "Which DAT switch delay do you want?")
  19.  
  20. ;------- Help ------------------------------------
  21. ;
  22. (set DefInputHelp       "Here you choose the input which will be\nused by the library as standard input.\n\nUsually, this is the input which is\nselected on the Maestro card, too.")
  23. (set DefDelayHelp       "Here you can set the delay (in milli-\nseconds) that maestix waits to let the\nDAT deck set to the new rate.\n\nThe value depends on the used\nDAT deck. The SONY DTC-690 e.g.\nneeds about 1000ms, other decks\nmay need more or less...\n")
  24. (set ToolDirHelp        "Here you can select the destination drawer\nin which the maestix tools should\nbe copied. Usually 'C:'.\n")
  25.  
  26. ;------- Messages --------------------------------
  27. ;
  28. (set StartupMsg         "\nMaestix Installation\n\n This program installs the maestix\nlibrary to your harddisk.\n\nPlease read the copyright notes,\nbefore you use this library.\n\n\If you do not agree with this note,\nyou have to delete the library\nand all related files!")
  29.  
  30. ;------- Files -----------------------------------
  31. ;
  32. (set ToolSource         "c/")
  33. (set LibSource          "libs/maestix.library")
  34.  
  35. ;------- Installation ----------------------------
  36. ;
  37. (message StartupMsg)
  38. (set DefInput (askchoice
  39.     (prompt DefInputPrompt)
  40.     (help   DefInputHelp)
  41.     (choices ("Optischer Eingang") ("Koaxialer Eingang"))
  42. ))
  43. (set Delay (asknumber
  44.     (prompt DefDelayPrompt)
  45.     (help   DefDelayHelp)
  46.     (range  0 30000)
  47.     (default 1000)
  48. ))
  49. (set ToolDir (askdir
  50.     (prompt ToolDirPrompt)
  51.     (help   ToolDirHelp)
  52.     (default "C:")
  53. ))
  54. (copyfiles
  55.     (prompt ToolCopyPrompt)
  56.     (help   @copyfiles-help)
  57.     (source ToolSource)
  58.     (dest   ToolDir)
  59.     (all)
  60.     (confirm)
  61.     (infos)
  62. )
  63. (copylib
  64.     (prompt CopyLibPrompt)
  65.     (help   @copylib-help)
  66.     (source LibSource)
  67.     (dest   "LIBS:")
  68.     (confirm)
  69. )
  70. (if (= DefInput 0)
  71.     (set TheInput "optical")
  72.     (set TheInput "coaxial")
  73. )
  74. (startup
  75.     ("Maestix")
  76.     (prompt StartupPrompt)
  77.     (help   @startup-help)
  78.     (command ("SetMstx QUIET INPUT=%s DELAY=%ld" TheInput Delay))
  79. )
  80.  
  81. ;------- Done ------------------------------------
  82.